package com.ruoyi.wuyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 兽药产品对象 wy_shouyao_info
 * 
 * @author ruoyi
 * @date 2022-07-18
 */
public class WyShouyaoInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 受理号 */
    @Excel(name = "受理号")
    private String acceptancenum;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String company;

    /** 通用名 */
    @Excel(name = "通用名")
    private String commonname;

    /** 规格 */
    @Excel(name = "规格")
    private String specifications;

    /** 商品名 */
    @Excel(name = "商品名")
    private String tradename;

    /** 批准文号 */
    @Excel(name = "批准文号")
    private String approvalnumber;

    /** 批准日期 */
    @Excel(name = "批准日期")
    private String approvaldate;

    /** 有效期 */
    @Excel(name = "有效期")
    private String termvalidity;

    /** 失效原因 */
    @Excel(name = "失效原因")
    private String failurereason;

    /** 变更情况 */
    @Excel(name = "变更情况")
    private String alteration;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String itemid;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 删除标识 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAcceptancenum(String acceptancenum) 
    {
        this.acceptancenum = acceptancenum;
    }

    public String getAcceptancenum() 
    {
        return acceptancenum;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }
    public void setCommonname(String commonname) 
    {
        this.commonname = commonname;
    }

    public String getCommonname() 
    {
        return commonname;
    }
    public void setSpecifications(String specifications) 
    {
        this.specifications = specifications;
    }

    public String getSpecifications() 
    {
        return specifications;
    }
    public void setTradename(String tradename) 
    {
        this.tradename = tradename;
    }

    public String getTradename() 
    {
        return tradename;
    }
    public void setApprovalnumber(String approvalnumber) 
    {
        this.approvalnumber = approvalnumber;
    }

    public String getApprovalnumber() 
    {
        return approvalnumber;
    }
    public void setApprovaldate(String approvaldate) 
    {
        this.approvaldate = approvaldate;
    }

    public String getApprovaldate() 
    {
        return approvaldate;
    }
    public void setTermvalidity(String termvalidity) 
    {
        this.termvalidity = termvalidity;
    }

    public String getTermvalidity() 
    {
        return termvalidity;
    }
    public void setFailurereason(String failurereason) 
    {
        this.failurereason = failurereason;
    }

    public String getFailurereason() 
    {
        return failurereason;
    }
    public void setAlteration(String alteration) 
    {
        this.alteration = alteration;
    }

    public String getAlteration() 
    {
        return alteration;
    }
    public void setItemid(String itemid) 
    {
        this.itemid = itemid;
    }

    public String getItemid() 
    {
        return itemid;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("acceptancenum", getAcceptancenum())
            .append("company", getCompany())
            .append("commonname", getCommonname())
            .append("specifications", getSpecifications())
            .append("tradename", getTradename())
            .append("approvalnumber", getApprovalnumber())
            .append("approvaldate", getApprovaldate())
            .append("termvalidity", getTermvalidity())
            .append("failurereason", getFailurereason())
            .append("alteration", getAlteration())
            .append("itemid", getItemid())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("remarks", getRemarks())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
